package com.xdhl.fu.flight.info.api.mongodb.domain;

import com.xdhl.fu.flight.info.api.mongodb.MongodbConstants;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.MongoId;

import java.io.Serializable;

/**
 * 航班号文档名
 */
@Data
@Document(MongodbConstants.COLLECTION_NAME_FLIGHT_NUMBER)
public class MGFlightNumber implements Serializable {

    /**
     * 航班数据ID
     */
    @MongoId
    private String dataId;

    /**
     * 航班号
     */
    private String flightNumber;

}
